.SalesPromotion {
  background: #ffffff;
  height: 100vh;

  display: flex;
  flex-direction: column;

  .search-container {
    margin: 16px 24px;
    .search-wrap {
      padding: 0;

      .left {
        background: #f0f0f0;
        border-radius: 8px;
      }

      .right {
        color: unset;
      }
    }
  }

  .products-wrap {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    background-color: #f5f5f5;

    display: flex;
    flex-direction: column;

    position: relative;

    .background-wrap {
      position: absolute;
      top: 0;
      left: 0;

      width: 100%;

      .background-1 {
        width: 100%;
        height: 218px;
      }

      .background-2 {
        width: 100%;
        height: 152px;
      }
    }

    .tip {
      position: relative;

      height: 40px;
      font-size: 28px;
      font-weight: 400;
      color: #ffffff;
      line-height: 40px;

      margin-top: 32px;
      margin-bottom: 24px;

      z-index: 1;
    }

    .product-list {
      flex-shrink: 0;
    }

    .product-list.off {
      margin-top: 24px;
    }

    .product-item {
      margin-bottom: 24px;

      box-sizing: border-box;
      width: 100%;
      padding: 24px;

      background: #ffffff;
      height: 226px;
      border-radius: 8px;

      display: flex;

      position: relative;

      .cart {
        position: absolute;
        right: 45px;
        top: 158px;

        &::after {
          content: "";
          position: absolute;
          top: -20px;
          left: -20px;

          width: 35px + 40px;
          height: 35px + 40px;
        }
      }

      .left {
        width: 178px;
        height: 178px;
        font-size: 22px;
        margin-right: 24px;
        border-radius: 4px;
      }

      .right {
        display: flex;
        flex-direction: column;

        .title {
          height: 40px;
          font-size: 28px;
          font-weight: 400;
          color: #333333;
          line-height: 40px;

          flex-shrink: 0;
        }

        .line-2 {
          margin-top: 12px;
          width: fit-content;

          .label {
            display: flex;
            justify-content: center;
            align-items: center;

            height: 26px;

            margin-right: 4px;

            &.label-ellipse {
              border-radius: 16px;
            }

            &.label-rect {
              border-radius: 2px;
            }

            .txt {
              padding: 0 8px;

              height: 20px;
              font-size: 20px;
              font-weight: 400;
              line-height: 20px;
            }
          }
        }

        .line-3 {
          display: flex;
          align-items: baseline;

          margin-top: 86px;

          &.rebate {
            margin-top: 48px;
          }

          .price {
            height: 44px;
            font-weight: 700;
            line-height: 44px;

            margin-right: 8px;

            display: flex;
            align-items: baseline;

            .price-1 {
              font-size: 32px;
            }

            .price-2 {
              font-size: 24px;
            }

            &.isRebate {
              margin-right: 24px;
            }
          }

          .underline-price {
            margin-right: 24px;

            font-family: PingFang-SC-Regular;
            margin-left: 8px;

            font-weight: 400;
            padding-right: 4px;
            font-size: 22px;
            color: #9e9e9e;
            letter-spacing: 0;
            line-height: 24px;
            text-decoration: line-through;
          }
        }
      }
    }

    .placeholder-block {
      margin-bottom: 46px;
    }
  }

  .bottom-wrap {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;

    &.bottomHeight {
      margin-bottom: 68px;
    }

    .notice {
      width: 100%;
      height: 70px;
      background: #fffbe8;

      display: flex;
      align-items: center;
      justify-content: center;

      .txt {
        height: 34px;
        font-size: 24px;
        font-weight: 400;
        line-height: 34px;

        color: #ff5116;
      }
    }

    .line {
      box-sizing: border-box;
      padding: 10px 24px;
      width: 100%;
      border: 1px solid #f0f0f0;
      border-left: none;
      border-right: none;

      display: flex;
      justify-content: space-between;
      align-items: center;

      height: 100px;
      background: #ffffff;

      .left {
        height: 100%;
        display: flex;
        align-items: center;

        .tip {
          height: 34px;
          font-size: 24px;
          font-weight: 400;
          color: #333333;
          line-height: 34px;
        }
        .info {
          height: 34px;
          line-height: 34px;
          font-size: 24px;
          color: #000000;
          .sep {
            color: #EF5721;
          }
        }

        .priceLine {
          height: 44px;
          .label {
            height: 40px;
            font-size: 28px;
            font-weight: 400;
            color: #333333;
            line-height: 40px;
          }
          .price {
            height: 44px;
            font-size: 32px;
            font-weight: bold;
            line-height: 44px;
          }
        }
      }

      .right {
        height: 76px;
        border-radius: 38px;

        padding: 0 50px;

        display: flex;
        justify-content: center;
        align-items: center;

        .txt {
          height: 44px;
          font-size: 32px;
          font-weight: 400;
          color: #ffffff;
          line-height: 44px;
        }
      }
    }
  }
}
